var api = require("../../api/api.js");
var utils = require("../../utils/utils.js");
var event = require("../../event/event.js");
Page({

  /**
   * 页面的初始数据
   */
  data: {
   
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    imgUp.init.apply(this, []);//引入方法
    this.setData({
      order_no: options.id,
      order_type: options.type
    })
    this.getData()

  },
  
  getData: function () {
    var that = this;
    api.default.api('order_detail', {
      "order_id": that.data.order_no
    }, function (data) {
      that.setData({

      })
    }, function () { });
  }
})